﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace easyui.Controllers
{
    [AllowAnonymous]
    [Route("[Controller]")]
    public class AuthorizationController : Controller
    {
        [Route("User/Index")]
        public IActionResult UserView()
        {
            return View("User");
        }

        [Route("Role/Index")]
        public IActionResult RoleView()
        {
            return View("Role");
        }
    }
}